package com.ruoyi.cat.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易明细对象 cat_tradedetail_table
 * 
 * @author ruoyi
 * @date 2024-12-27
 */
public class CatTradedetailTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 0：收入；1：支出 */
    @Excel(name = "0：收入；1：支出")
    private String tradeType;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String tradeTitle;

    /** 项目金额 */
    @Excel(name = "项目金额")
    private BigDecimal tradeNum;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 文章id */
    @Excel(name = "文章id")
    private Long activityId;

    private String orderNo;

    private String status;


    @Excel(name = "1文章,2活动")
    private String type;


    private Long profitUserId;

    private String income;

    private Long helpingPeople;

    private String paymentType;

    private String tradeNo;

    private String statusType;

    public String getStatusType() {
        return statusType;
    }

    public void setStatusType(String statusType) {
        this.statusType = statusType;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public String getIncome() {
        return income;
    }

    public void setIncome(String income) {
        this.income = income;
    }

    public Long getHelpingPeople() {
        return helpingPeople;
    }

    public void setHelpingPeople(Long helpingPeople) {
        this.helpingPeople = helpingPeople;
    }


    public Long getProfitUserId() {
        return profitUserId;
    }

    public void setProfitUserId(Long profitUserId) {
        this.profitUserId = profitUserId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTradeType(String tradeType) 
    {
        this.tradeType = tradeType;
    }

    public String getTradeType() 
    {
        return tradeType;
    }
    public void setTradeTitle(String tradeTitle) 
    {
        this.tradeTitle = tradeTitle;
    }

    public String getTradeTitle() 
    {
        return tradeTitle;
    }
    public void setTradeNum(BigDecimal tradeNum) 
    {
        this.tradeNum = tradeNum;
    }

    public BigDecimal getTradeNum() 
    {
        return tradeNum;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tradeType", getTradeType())
            .append("tradeTitle", getTradeTitle())
            .append("tradeNum", getTradeNum())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("activityId", getActivityId())
            .toString();
    }
}
